package com.woniuxy.java102vuecli.mapper;

import com.woniuxy.java102vuecli.entity.Employee;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @Author author
 * @Create 2023-09-14 11:06
 */
public interface EmployeeMapper {

    List<Employee> getEmployees(Employee employee);
    Employee getEmployeeByEmail(String email);
    Employee getEmployeeByEname(String ename);

    void insertEmployee(Employee employee);

    void deleteEmployeesBatch(@Param("eids") int[] eids);

}